#!/bin/bash
# Zaitan Module - Emesene Install
# Zaitan Team <http://code.google.com/p/zaitan/>

RMOD_ENGINE='1.0'
RMOD_CATEGORY='Software'
RMOD_SUBCATEGORY='Interface'
RMOD_NAME='Emesene'
RMOD_AUTHOR='Zaitan Team'
RMOD_VERSION='1.0'
RMOD_DESCRIPTION='Installs Emesene'
RMOD_UPDATE_URL='http://code.google.com/p/zaitan/'


# install Emesene



echo Running $RMOD_NAME...
#/usr/lib/zaitan/modulo/mod-checkInstall


# update
echo '
# Install Emesene
deb http://apt.emesene.org/ ./ #Emesene
deb-src http://apt.emesene.org/ ./ #Emesene' | tee -a /etc/apt/sources.list


apt-get update
apt-get --force-yes install emesene

sed -i -e '/Emesene/d' /etc/apt/sources.list

apt-get update

echo $RMOD_NAME Finibashed...

##Logs
echo $RMOD_NAME-$RMOD_VERSION | tee -a /usr/share/zaitan/logs
/usr/lib/zaitan/modulo/mod-logs
##

exit 0

